Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Improve connection state checks speed #720

Merged
merged 2 commits into from
Nov 16, 2023

Conversation

sdsantos
Copy link
Collaborator

@sdsantos sdsantos commented Nov 6, 2023

Fixes #717

We're repeating the connection state check every 5 seconds. But the 3 checks themselves did not have timeouts, so that meant it could take several minutes just to complete one check. I've now capped each check to 5 seconds as well, so worse case scenario it could take 20 seconds between connection state checks.

Copy link
Member

@gnarea gnarea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM. Will keep an eye on this... hopefully this will be the last fix to this connectivity issues. 🤞🏾

@gnarea gnarea added the automerge Allow kodiak to automerge commit when all checks pass label Nov 16, 2023
@kodiakhq kodiakhq bot merged commit 4c96211 into master Nov 16, 2023
6 checks passed
@kodiakhq kodiakhq bot deleted the quicker-connection-state-checks branch November 16, 2023 10:35
Copy link

🎉 This PR is included in version 1.8.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Allow kodiak to automerge commit when all checks pass released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

App doesn't try to reconnect to its Internet gateway
2 participants